package com.caojing.haolemai.config;

/**
 * Created by CaoJing on 2016/10/3.
 */
public class UrlConfig {
    public static class Path{
        public static final String BASE_URL = "http://platform.okbuy.com/";
        public static final String HOME_VP_URL = "app/v15/focus/list/?os=android&version=4.5.3";
        public static final String HOME_LV_URL = "app/v15/focus/advert/?os=android&version=4.5.3";
        public static final String CONTENT_URL = "app/v15/topics/content/{path}/";
        //这是分类接口的path部分
        public static final String CATEGORY_BODY_PATH="app/v14/focus/virtual_category";
        public static final String SERACH_HINT_URL ="http://platform.okbuy.com/app/v15/search/keywords";
        //这是分类点击进入详情path的部分
        public static final String CATEGORYCLICK_PATH="app/v15/search/index?";

//        public static final String PRODUCT_DETAIL="app/v15/product/get_detail_infos/{path}/";






        public static final String PRODUCT_DETAIL="app/v15/product/get_detail_infos/{path}/";

    }
    public static class  Key{
        public static final String INSTOCK="instock";
        public static final String PAGE_ID="page_id";
        public static final String PAGE_SIZE="page_size";
        public static final String ORDER_BY="order_by";
        public static final String BRAND_ID="brand_id";
        public static final String CATEGORY_ID="category_id";
        public static final String APP_ID="app_id";
        public static final String OS="os";
        public static final String SESSION_ID="session_id";
        public static final String SITE_MASK="site_mask";
        public static final String VERSION="version";
        public static final String COMS="if_add_self_to_relate_coms";//商品详情页面唯一需要的参数
        public static final String KEYWORDS ="keywords";


        public static final String ACCESS_TOKEN_LEVEL1="access_token_level1";
        public static final String ACCESS_TOKEN_LEVEL2="access_token_level2";

        public static final String USER_ID="user_id";
    }
    public static class DefaultValue{
        public static final String INSTOCK="1";
        public static final String PAGE_ID="1";
        public static final String PAGE_SIZE="10";
        public static final String ORDER_BY="3";
        public static final String BRAND_ID="1";
        public static final String CATEGORY_ID="0";
        public static final String APP_ID="1034";
        public static final String OS="android";
        public static final String SESSION_ID="355065058430152";
        public static final String SITE_MASK="7";
        public static final String VERSION="4.5.3";
        public static final String COMS="1";

        public static final String ACCESS_TOKEN_LEVEL1="L1-705804591761467-4765";
        public static final String ACCESS_TOKEN_LEVEL2="L2-5158045917616cc-4195";

        public static final String USER_ID="17383460";
    }

    public static class OutletsPath{
        //这里是限时特卖的 baseurl
        public static final String BASE_URL="app/v14/outlets/list/3/10/1";
        public static final String TAB_PATH_URL="//platform.okbuy.com/app/v14/outlets/outletsTabList";

    }

    // 限时特卖接口中的key
    public static class OutletsKey{
        public static final String SESSION_ID="session_id";
        public static final String APP_ID="app_id";
        public static final String SITE_MASK="site_mask";
        public static final String CAT_ID="cat_id";
        public static final String OS="os";
        public static final String VERSION="version";
    }

    // 限时特卖接口中的Value
    public static class OutletsValue{
        public static final String SESSION_ID="869545029043274";
        public static final String APP_ID="1034";
        public static final String SITE_MASK="7";
        public static final String CAT_ID="";
        public static final String OS="android";
        public static final String VERSION="4.5.2";
    }


}
